﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace PictureManager.Controllers
{
    public class HomeController : Controller
    {
        Models.PictrueManagerEntities context = new Models.PictrueManagerEntities();

        public ActionResult Index()
        {
            ViewBag.网站栏目 = context.网站栏目.ToList<Models.网站栏目>();
            ViewBag.图片库管理 = new string[] { "我的图片", "图片管理", "更改图片说明", "网站栏目设置", "征稿启事设置", "用户权限" };
            ViewBag.个人设置 = new string[] { "我的权限", "编辑资料", "修改密码", "注销" };
            return View();
        }
    }
}
